//
//  KXCKHomePageController.m
//  EPA
//
//  Created by lanou3g on 16/4/15.
//  Copyright © 2016年 小凡. All rights reserved.
//

#import "KXCKHomePageController.h"
#import "CK_MenuViewController.h"
@interface KXCKHomePageController ()<MenuClickDelegate>

@end

@implementation KXCKHomePageController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [CK_MenuViewController getMenuViewController].menuDelegate = self;
    [CK_MenuViewController getMenuViewController].menuArray = [@[@"今日·TODAY",@"话题·TOPICS",@"音乐·MUSIC",@"良品·PRODOCUS",@"订阅·SUBCRITION",@"设置·SETTING"] mutableCopy];
    
    
    
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
- (IBAction)itemClick:(UIBarButtonItem *)sender {
    
    if ([CK_MenuViewController getMenuViewController].isShowing) {
        [[CK_MenuViewController getMenuViewController] showLeftViewController];
    }else {
        [[CK_MenuViewController getMenuViewController]hideLeftViewController];
    }
    
    
    
    
    
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
